#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <time.h>

#include "public.h"


void xy_udiskdump_sig_sendsig(int sig, int value)
{
  union sigval val;
  int pid;

  val.sival_int = value;
  ac_traces(MSG_LEVEL_INFO, "signal is %d, value is 0x%x\n", sig, value);
  pid = getpid();
  sigqueue(pid, sig, val);
}
